package com.dp.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author: dupeng
 * @CreateTime: 2024-12-09  14:15
 * @Description: TODO
 */
@Data
@Component
@ConfigurationProperties(prefix = "user")
public class MyNacosProperties {

    private String name;

    private Integer age;

    private String address;
}
